Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IP address validation whe is tuple #31

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

zaratedev
Copy link
Contributor

Hey there 👋

This pull request adds validations for the ip_address when it's a tuple.

For example, if we have a tuple with an IP address ipv4 outside the range {300, 300, 300, 300}, the changeset should fail. It also includes validations for IPv6.

Let me know if I missed anything to validate. 🙏

@adam12 adam12 merged commit 3b2af3c into adam12:master Mar 24, 2025
@adam12
Copy link
Owner

adam12 commented Mar 24, 2025

Thanks!

@zaratedev zaratedev deleted the ip-address-validation branch March 24, 2025 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants